//
//  AboutMineViewController.m
//  Village
//
//  Created by longrise on 2017/9/15.
//  Copyright © 2017年 程虎. All rights reserved.
//

#import "AboutMineViewController.h"

@interface AboutMineViewController ()

@end

@implementation AboutMineViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"关于我们";
    self.view.backgroundColor = [UIColor whiteColor];
    [self setview];
}

- (void)setview{
    UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kDeviceWidth, 186*kScreenScaleY)];
    [self.view addSubview:view];
    view.backgroundColor = kBackgroundColor;
    
    UIImageView *image = [[UIImageView alloc] initWithFrame:CGRectMake(112.5*kScreenScaleX, 20*kScreenScaleY, 150*kScreenScaleX, 120*kScreenScaleY)];
    image.image = [UIImage imageNamed:@"LOGO_关于"];
    [view addSubview:image];
    
    UILabel *lab3 = [[UILabel alloc] initWithFrame:CGRectMake(150*kScreenScaleX, 157*kScreenScaleY, 75*kScreenScaleX, 11*kScreenScaleY)];
    NSString *str = [NSString stringWithFormat:@"V%@",VersionCode];
    lab3.text = str;
    lab3.textColor =  [Util colorWithHexString:@"999999"];
    lab3.font = [UIFont systemFontOfSize:14*kScreenScaleX];
    [lab3 setTextAlignment:NSTextAlignmentCenter];
    [view addSubview:lab3];
    
    UILabel *lab1 = [[UILabel alloc] initWithFrame:CGRectMake(17*kScreenScaleX, 210*kScreenScaleY, 342*kScreenScaleX, 50*kScreenScaleY)];
    lab1.text = @"        本软件是一款面向全国村落、居委会的智慧型社交、办公平台。";
    lab1.numberOfLines = 0;//表示label可以多行显示
    lab1.font = [UIFont systemFontOfSize:14*kScreenScaleX];
    [self.view addSubview:lab1];

//    UILabel *lab2 = [[UILabel alloc] initWithFrame:CGRectMake(17*kScreenScaleX, 260*kScreenScaleY, 342*kScreenScaleX, 17*kScreenScaleY)];
//    lab2.text = @"        主要用于解决.....";
//    lab2.font = [UIFont systemFontOfSize:14*kScreenScaleX];
//    [self.view addSubview:lab2];
//
//    UILabel *lab4 = [[UILabel alloc] initWithFrame:CGRectMake(17*kScreenScaleX, 310*kScreenScaleY, 342*kScreenScaleX, 17*kScreenScaleY)];
//    lab4.text = @"        开发者:";
//    lab4.font = [UIFont systemFontOfSize:14*kScreenScaleX];
//    [self.view addSubview:lab4];

}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
